<?php


namespace coco\traits;

/**
 * Trait Err
 * @package coco\traits
 */
trait Err
{
    protected $error = '';

    /**
     * @return string
     */
    public function getError(): string
    {
        return $this->error;
    }
}